<?php

use yii\db\Migration;

/**
 * Class m171226_085155_add_column_expected_transfer_to_package_transfer
 */
class m171226_085155_add_column_expected_transfer_to_package_transfer extends Migration
{
    /**
     * @inheritdoc
     */
    public function safeUp()
    {
		$this->addColumn('package_transfer','expected_transfer',$this->string()->defaultValue('')->comment('预计转让时间'));
    }

    /**
     * @inheritdoc
     */
    public function safeDown()
    {
        echo "m171226_085155_add_column_expected_transfer_to_package_transfer cannot be reverted.\n";

        return false;
    }

    /*
    // Use up()/down() to run migration code without a transaction.
    public function up()
    {

    }

    public function down()
    {
        echo "m171226_085155_add_column_expected_transfer_to_package_transfer cannot be reverted.\n";

        return false;
    }
    */
}
